home *** CD-ROM | disk | FTP | other *** search
- import java.applet.Applet;
- import netscape.javascript.JSObject;
-
- class WebHelp$JavaScriptAccess {
- Applet m_a;
- // $FF: synthetic field
- final WebHelp this$0;
-
- WebHelp$JavaScriptAccess(WebHelp var1, Applet var2) {
- (this.this$0 = var1).getClass();
- this.m_a = var2;
- }
-
- public int GetHeight() {
- try {
- JSObject var1 = JSObject.getWindow(this.m_a);
- Double var2 = Double.valueOf(var1.eval("getheight()").toString());
- return var2.intValue();
- } catch (Exception var3) {
- System.out.println("Exception Caught: " + ((Throwable)var3).toString());
- return 0;
- }
- }
-
- public int GetWidth() {
- try {
- JSObject var1 = JSObject.getWindow(this.m_a);
- Double var2 = Double.valueOf(var1.eval("getwidth()").toString());
- return var2.intValue();
- } catch (Exception var3) {
- System.out.println("Exception Caught: " + ((Throwable)var3).toString());
- return 0;
- }
- }
- }
-